@radio-border: #E4E4E4;
@radio-border-active: #0075E9;
@radio-border-active-disabled: lighten(#0075E9,20);

.sz-radio-group {
  .sz-radio-item {
    display: inline-block;
    text-align: center;
    margin-right: 15px;
    position: relative;

    &:last-child {
      margin-right: 0;
    }

    .sz-radio-btn-check {
      position: absolute;
      top: 2px;
      right: 4px;
      height: 10px;
      width: 10px;
      z-index: 2;
      font-size: 10px;
      font-weight: 700;
      color: #FFFFFF;
    }

    &:after {
      content: '';
      border-top: 12px @radio-border solid;
      border-right: 12px @radio-border solid;
      border-left: 12px transparent solid;
      border-bottom: 12px transparent solid;
      position: absolute;
      top: 1px;
      right: 1px;
      z-index: 1;
      border-top-right-radius: 3px;
    }

    .sz-radio-btn {
      display: inline-block;
      border-radius: 3px;
      box-sizing: border-box;
      border: 1px solid @radio-border;
      font-size: 14px;
      color: #666666;
      line-height: 18px;
      position: relative;
      z-index: 1;
      cursor: pointer;
      min-width: 100px;
      min-height: 40px;
      &:hover{
        border-color: @radio-border-active;
      }
    }

    &.sz-radio-item-active {
      border-color: @radio-border-active;

      &:after {
        content: '';
        border-top: 12px @radio-border-active solid;
        border-right: 12px @radio-border-active solid;
        border-left: 12px transparent solid;
        border-bottom: 12px transparent solid;
        position: absolute;
        color: #fff;
      }

      .sz-radio-btn {
        border-color: @radio-border-active;
      }
    }
  }

  .sz-radio-intro {
    display: block;
    border: 1px @radio-border solid;
    background: #F7F8FA;
    padding: 12px 13.5px;
    box-sizing: border-box;
    margin-top: 10px;
    position: relative;
    min-height: 95px;
    border-radius: 3px;

    .sz-radio-intro-arrow {
      position: absolute;
      border-width: 6px;
      border-style: solid;
      border-color: transparent;
      top: -6px;
      left: 50%;
      margin-left: -3px;
      border-top-width: 0;
      border-bottom-color: @radio-border;

      &:after {
        content: '';
        position: absolute;
        top: 1px;
        left: -6px;
        border-width: 6px;
        border-color: transparent;
        border-style: solid;
        border-top-width: 0;
        border-bottom-color: #F7F8FA;
      }
    }

    h6 {
      height: 17px;
      font-size: 14px;
      line-height: 17px;
      font-weight: 500;
      color: #1A1A1A;
      margin-bottom: 8px;
    }

    p {
      font-size: 14px;
      font-weight: 400;
      color: #4D4D4D;
      line-height: 22px;
    }
  }
}

// 解决样式.d.ts 自动生成报错问题
.szRadioIntroArrow {}
.szRadioIntro {}
.szRadioBtn {}
.szRadioBtnCheck {}
.szRadioItemActive {}
.szRadioItem {}
.szRadioGroup {}